package com.space.feign;

import com.space.feign.i.CosServiceFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Import;

/**
 * @author <a href="mailto:414563035@qq.com">Bedroom</a>
 * @date 2021/5/17 3:31 下午
 */
//@Import(RegisterFeignConfig.class)
@FeignScan("com.space.feign.i")
public class Application {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(Application.class, args);
        CosServiceFeign c = (CosServiceFeign) context.getBean("cosServiceFeign");
    }
}
